package com.kotlin.jetpack.android.jssdk.jsobj;

import com.kotlin.jetpack.android.jssdk.bean.JumpToBean;
import com.kotlin.jetpack.android.jssdk.listener.JSJumpToListener;

/**
 * Created by zl on 17/6/19.
 * wanda 跳转类
 */

public class JSJumpToObj {

	public JSJumpToListener getListener() {
		return listener;
	}

	public void setListener(final JSJumpToListener listener) {
		this.listener = listener;
	}

	private JSJumpToListener listener;

	public void jumpTo(JumpToBean jumpToBean) {
		if (listener != null) {
			listener.jumpTo(jumpToBean);
		}
	}
}
